<%@ page import="com.psl.model.userlogin" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    userlogin userinfo = (userlogin) session.getAttribute("user");
    if (userinfo == null) {
        response.sendRedirect("/login.do");
    }
%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>产品资料</title>
    <link href="/assets/css/layout.css" rel="stylesheet" type="text/css">
    <style>
        body{
            font-size: 16px;
        }
    </style>
</head>

<body>
<table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#AEDEF4">
    <tbody>
    <tr>
        <td height="25" colspan="18" align="center" bgcolor="#D6F2FD">
            产品资料
        </td>
    </tr>
    <tr>
        <td height="25" align="center" bgcolor="#FFF9DF">产品编号</td>
        <td height="25" align="center" bgcolor="#FFF9DF">产品名称</td>
        <td align="center" bgcolor="#FFF9DF">商标</td>
        <td align="center" bgcolor="#FFF9DF">压力</td>
        <td align="center" bgcolor="#FFF9DF">重量</td>
        <td align="center" bgcolor="#FFF9DF">单价</td>
        <td align="center" bgcolor="#FFF9DF">装箱数量</td>
        <td align="center" bgcolor="#FFF9DF">包装箱内尺寸</td>
        <td align="center" bgcolor="#FFF9DF">库存数</td>
    </tr>
    <form action="/ProductAdd.do" method="post">
        <tr>
            <td height="25" align="center" bgcolor="#FFF9DF"><input type="text" name="p_no" value=""/></td>
            <td height="25" align="center" bgcolor="#FFF9DF"><input type="text" name="p_name" value=""/>
            <td height="25" align="center" bgcolor="#FFF9DF"><select name="p_r">
                <option value="PSL">PSL</option>
                <option value="TVT">TVT</option>
                <option value="SSK">SSK</option>
                <option value="其他">其他</option>
            </select></td>
            </td>
            <td align="center" bgcolor="#FFF9DF"><select name="p_n">
                <option value="10">10</option>
                <option value="16">16</option>
                <option value="25">25</option>
            </select></td>
            <td align="center" bgcolor="#FFF9DF"><input type="text" name="p_uw" value="1.5"/>kg</td>
            <td align="center" bgcolor="#FFF9DF"><input type="text" name="p_up" value="1000"/></td>
            <td align="center" bgcolor="#FFF9DF"><input type="text" name="p_zx" value="1000"/></td>
            <td align="center" bgcolor="#FFF9DF"><input type="text" name="p_kc" value="1000"/></td>
            <td align="center" bgcolor="#FFF9DF"><input type="number" name="p_size" value="100"/></td>
        </tr>
        <tr align="center">
            <td colspan="5"><input type="submit" value="保存"/></td>
        </tr>
    </form>
    </tbody>
</table>
</form>
</body>
</html>